package com.soundai.skill.helloworld.Controller;

import com.soundai.skill.helloworld.Service.TransferCenterInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.ExecutionException;

@RestController
public class testController {

    @Autowired
    private TransferCenterInfoService infoService;

    @GetMapping("/test")
    public String test(String msg) throws ExecutionException, InterruptedException {

      return infoService.testInfo(msg,"D050784DB83F");
    }


}
